package team.seekers.oj.websocket.entity;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.io.Serializable;

@Data
public class MessageDTO implements Serializable {

    private String msg;

    public Boolean isNew;

    public String toJson(){
        return JSON.toJSONString(this);
    }

}
